package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuShiRenZhengSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuShiRenZhengSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuShiRenZhengVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuShiRenZhengDO;

/**
 * <p>
 * 船员证书-适任证 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuShiRenZhengService extends IBaseService<ChuanYuanKuShiRenZhengDO> {
    Page<ChuanYuanKuShiRenZhengVO> findChuanYuanKuShiRenZheng(ChuanYuanKuShiRenZhengSearchPO searchPO);

    ChuanYuanKuShiRenZhengVO saveChuanYuanKuShiRenZheng(ChuanYuanKuShiRenZhengSavePO savePO);

    ChuanYuanKuShiRenZhengVO getChuanYuanKuShiRenZheng(Long id);

    ChuanYuanKuShiRenZhengVO updateChuanYuanKuShiRenZheng(ChuanYuanKuShiRenZhengSavePO savePO);

    boolean delChuanYuanKuShiRenZheng(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
